<!-- application.getRequestDispatcher("t2.jsp").forward(request, response); -> throw exception-->
<%
    System.out.println(request.getContextPath());
    request.getRequestDispatcher("t2.jsp").forward(request, response);
%>
